<!doctype html>
<html lang="en" xmlns:v-on="http://www.w3.org/1999/xhtml" xmlns:v-bind="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8">
    <title>方法与事件处理器select</title>
</head>
<body>
    <div id="example-4">
        <input type="text" v-model="msg" lazy>
        <br>
        <input type="text" v-model="age" number>
        <br>
        <!--debounce设置一个最小的延时，在每次敲击之后延时同步输入框内的值与数据-->
        <input type="text" v-model="name" debounce="1000">
        <p>{{name}}</p>
    </div>

<script src="../lib/vue.js"></script>
<script>
    var exampleVm = new Vue({
        el : "#example-4",
        data : {
            msg : "hello vue.je",
            age : 28,
            name : ""
        }
    })
</script>
</body>
</html>